using System.Collections;
using System.Collections.Generic;

namespace TestUtils
{
	public class ContextManager
	{
		static Context testContext;

		public static Context TestContext
		{
			get { return testContext; }
			set { testContext = value; }
		}
	}
	
	public class Context {
		Hashtable context = new Hashtable();
		
		IDictionary<string,IDictionary<string,IList<string>>> fixedDefinitions =
			new Dictionary<string, IDictionary<string, IList<string>>>();

		public IDictionary<string,IDictionary<string, IList<string>>> FixedDefinitions
		{
			get {return fixedDefinitions;}
		}

		public object this[object key]
		{
			get {return context[key];}
			set {context[key] = value;}
		}
	}
}